n="Kate"
m="666666"
for attempt in range(3):
    x=input("名字")
    y=input("密码")
    if n.strip() == x and m == y:
        print("登录成功")
        break
else:
    print("滚！！!")
            